﻿using System;

namespace Bangle.SerialPort.Messages
{
    public interface IBufferReader
    {
        byte[] GetData();

        byte ReadByte();

        UInt16 ReadUInt16();

        UInt32 ReadUInt32();

        long ReadLong32();

        string ReadString(int len);

        double ReadDouble16(double d);

        double ReadDouble32(double d);

        DateTime ReadDateTime();

        float ReadFloat();
    }
}
